package com.qf.utils;

import com.alibaba.fastjson.JSON;

import java.io.PrintWriter;

public class JsonUtils {

    public static void showJson(PrintWriter pw,ResultVo resultVo){
        String s = JSON.toJSONString(resultVo);
        System.out.println(s);
        pw.print(s);
        pw.flush();
        pw.close();

    }
}
